/*
 * activecableenergy.h
 *
 *      Author: Jerome RD Soine and Christoph A Brand
 *      Institution: Schwarz goup, Institute for Theoretical Physics, Heidelberg University, Germany
 */

#ifndef ACTIVECABLEENERGY_H_
#define ACTIVECABLEENERGY_H_

#include "cableenergy.h"

class ActiveCableEnergy : public CableEnergy{
private:
	double cutoffFraction;
public:
	ActiveCableEnergy(GeomObject * G, double oneDYoungsModulus);

	virtual double getEnergy();
	virtual double getEnergyOfEdge(Edge * edge);
	virtual double getForceOfEdge(Edge * edge);
	virtual Vertex getGradient(Vertex & v);

};


#endif /* ACTIVECABLEENERGY_H_ */
